package com.home766.dao;

import com.home766.entity.ServiceArea;
import net.biz.dao.BaseDao;

import java.util.List;

public interface ServiceAreaDao extends BaseDao<ServiceArea,Long> {
	/***
	 * 根据门店编码查询服务区域
	 * @param shopsCode
	 * @return
	 */
	public List<ServiceArea> getListByShopsCode(String shopsCode);
	/***
	 * 根据编码删除区域
	 * @param shopsCode
	 */
	public int deleteByCode(String shopsCode);
}
